﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Web.UI;

namespace Kevin.Controls
{
    public class EditItem
    {
        public string ControlID
        {
            get;
            set;
        }

        public string DataBoundFieldName
        {
            get;
            set;
        }

        public string ParentPageControlSetValueMethod
        {
            get;
            set;
        }
    }

    public class EditItemCollection : CollectionBase
    {
       

        public void Add(EditItem item)
        {
            if (item != null)
                base.List.Add(item);
        }

        public EditItem this[int index]
        {
            get { return (EditItem)List[index]; }
            set { List[index] = value; }
        }

    } 
}
